Component({
	properties: {
		activeIndex: {
			type: Number,
			value: 0
		},
		list: {
			type: Array,
			value: []
		}
	},
	methods: {
		handleTabChange (e) {
			const index = +e.currentTarget.dataset.index;
			this.triggerEvent('TabChange', index);
		}
	}
});
